﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    [Serializable]
    /// <summary>
    /// 药品信息类
    /// </summary>
    public class DrugInfo
    {
        private string Bm_ = null;
        private string Tym_ = null;
        private string Spm_ = null;
        private string Ywmc_ = null;
        private string Kjm_ = null;
        private string Hypy_ = null;
        private string Fl_ = null;
        private string Jldw_ = null;
        private string Ggxh_ = null;
        private string Pzwh_ = null;
        private Ypjx Jx_ = Ypjx.PianJi;
        private string Cd_ = null;
        private bool Pwjj_ = false;
        private bool Tsyp_ = false;
        private bool Cfy_ = false;
        private string Txm_ = null;
        private string Scqy_ = null;
        private string Scdd_ = null;
        private string Zcsb_ = null;
        private string Hgzh_ = null;
        private string Zcsbpj_ = null;
        private string Xkzh_ = null;
        private string Fzjldw_ = null;
        private double Hsbl_ = 0.0;
        private bool Sfsy_ = false;
        private bool Ddcf_ = false;
        private double Zgsj_ = 0.0;
        private double Gjzdsj_ = 0.0;
        private string Scgb_ = null;
        private string Rgzh_ = null;
        private string Hgdm_ = null;
        private bool Zj_ = false;
        private string Gjfzlm_ = null;
        private string Bzgg_ = null;
        private string Jkypzczh_ = null;
        private string Jdr_ = null;
        private string Jdrq_ = null;
        private string Bz_ = null;

        #region 公共属性

        /// <summary>
        /// 药品编码
        /// </summary>
        public string Bm
        {
            get
            {
                return Bm_;
            }
            set
            {
                Bm_ = value;
            }
        }

        /// <summary>
        /// 药品通用名
        /// </summary>
        public string Tym
        {
            get
            {
                return Tym_;
            }
            set
            {
                Tym_ = value;
            }
        }

        /// <summary>
        /// 药品商品名
        /// </summary>
        public string Spm
        {
            get
            {
                return Spm_;
            }
            set
            {
                Spm_ = value;
            }
        }

        /// <summary>
        /// 英文名称
        /// </summary>
        public string Ywmc
        {
            get
            {
                return Ywmc_;
            }
            set
            {
                Ywmc_ = value;
            }
        }

        /// <summary>
        /// 快捷查询码
        /// </summary>
        public string Kjm
        {
            get
            {
                return Kjm_;
            }
            set
            {
                Kjm_ = value;
            }
        }

        /// <summary>
        /// 汉语拼音名称
        /// </summary>
        public string Hypy
        {
            get
            {
                return Hypy_;
            }
            set
            {
                Hypy_ = value;
            }
        }

        /// <summary>
        /// 药品分类
        /// </summary>
        public string Fl
        {
            get
            {
                return Fl_;
            }
            set
            {
                Fl_ = value;
            }
        }

        /// <summary>
        /// 药品计量单位
        /// </summary>
        public string Jldw
        {
            get
            {
                return Jldw_;
            }
            set
            {
                Jldw_ = value;
            }
        }

        /// <summary>
        /// 药品规格
        /// </summary>
        public string Ggxh
        {
            get
            {
                return Ggxh;
            }
            set
            {
                Ggxh_ = value;
            }
        }

        /// <summary>
        /// 批准文号
        /// </summary>
        public string Pzwh
        {
            get
            {
                return Pzwh_;
            }
            set
            {
                Pzwh_ = value;
            }
        }

        /// <summary>
        /// 药品剂型
        /// </summary>
        public Ypjx Jx
        {
            get
            {
                return Jx_;
            }
            set
            {
                Jx_ = value;
            }
        }

        /// <summary>
        /// 产地
        /// </summary>
        public string Cd
        {
            get
            {
                return Cd_;
            }
            set
            {
                Cd_ = value;
            }
        }

        /// <summary>
        /// 是否配伍禁忌
        /// </summary>
        public bool Pwjj
        {
            get
            {
                return Pwjj_;
            }
            set
            {
                Pwjj_ = value;
            }
        }

        /// <summary>
        /// 是否是特殊药品
        /// </summary>
        public bool Tsyp
        {
            get
            {
                return Tsyp_;
            }
            set
            {
                Tsyp_ = value;
            }
        }

        /// <summary>
        /// 是否是处方药
        /// </summary>
        public bool Cfy
        {
            get
            {
                return Cfy_;
            }
            set
            {
                Cfy_ = value;
            }
        }

        /// <summary>
        /// 药品条形码
        /// </summary>
        public string Txm
        {
            get
            {
                return Txm_;
            }
            set
            {
                Txm_ = value;
            }
        }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string Scqy
        {
            get
            {
                return Scqy_;
            }
            set
            {
                Scqy_ = value;
            }
        }

        /// <summary>
        /// 生产地点（制造商）
        /// </summary>
        public string Scdd
        {
            get
            {
                return Scdd_;
            }
            set
            {
                Scdd_ = value;
            }
        }

        /// <summary>
        /// 注册商标
        /// </summary>
        public string Zcsb
        {
            get
            {
                return Zcsb_;
            }
            set
            {
                Zcsb_ = value;
            }
        }

        /// <summary>
        /// 合格证号
        /// </summary>
        public string Hgzh
        {
            get
            {
                return Hgzh_;
            }
            set
            {
                Hgzh_ = value;
            }
        }

        /// <summary>
        /// 注册商标批件
        /// </summary>
        public string Zcsbpj
        {
            get
            {
                return Zcsbpj_;
            }
            set
            {
                Zcsbpj_ = value;
            }
        }

        /// <summary>
        /// 许可证号
        /// </summary>
        public string Xkzh
        {
            get
            {
                return Xkzh_;
            }
            set
            {
                Xkzh_ = value;
            }
        }

        /// <summary>
        /// 辅助计量单位
        /// </summary>
        public string Fzjldw
        {
            get
            {
                return Fzjldw_;
            }
            set
            {
                Fzjldw_ = value;
            }
        }

        /// <summary>
        /// 换算比例
        /// </summary>
        public double Hsbl
        {
            get
            {
                return Hsbl_;
            }
            set
            {
                Hsbl_ = value;
            }
        }

        /// <summary>
        /// 是否是首营药品
        /// </summary>
        public bool Sfsy
        {
            get
            {
                return Sfsy_;
            }
            set
            {
                Sfsy_ = value;
            }
        }

        /// <summary>
        /// 是否需单独存放
        /// </summary>
        public bool Ddcf
        {
            get
            {
                return Ddcf_;
            }
            set
            {
                Ddcf_ = value;
            }
        }

        /// <summary>
        /// 最高售价
        /// </summary>
        public double Zgsj
        {
            get
            {
                return Zgsj_;
            }
            set
            {
                Zgsj_ = value;
            }
        }

        /// <summary>
        /// 国家指导售价
        /// </summary>
        public double Gjzdsj
        {
            get
            {
                return Gjzdsj_;
            }
            set
            {
                Gjzdsj_ = value;
            }
        }

        /// <summary>
        /// 生产国
        /// </summary>
        public string Scgb
        {
            get
            {
                return Scgb_;
            }
            set
            {
                Scgb_ = value;
            }
        }

        /// <summary>
        /// 入关证号
        /// </summary>
        public string Rgzh
        {
            get
            {
                return Rgzh_;
            }
            set
            {
                Rgzh_ = value;
            }
        }

        /// <summary>
        /// 海关代码
        /// </summary>
        public string Hgdm
        {
            get
            {
                return Hgdm_;
            }
            set
            {
                Hgdm_ = value;
            }
        }

        /// <summary>
        /// 是否质检
        /// </summary>
        public bool Zj
        {
            get
            {
                return Zj_;
            }
            set
            {
                Zj_ = value;
            }
        }

        /// <summary>
        /// 国际非专利名
        /// </summary>
        public string Gjfzlm
        {
            get
            {
                return Gjfzlm_;
            }
            set
            {
                Gjfzlm_ = value;
            }
        }

        /// <summary>
        /// 包装规格
        /// </summary>
        public string Bzgg
        {
            get
            {
                return Bzgg_;
            }
            set
            {
                Bzgg_ = value;
            }
        }

        /// <summary>
        /// 进口药品注册证号
        /// </summary>
        public string Jkypzczh
        {
            get
            {
                return Jkypzczh_;
            }
            set
            {
                Jkypzczh_ = value;
            }
        }

        /// <summary>
        /// 建档人
        /// </summary>
        public string Jdr
        {
            get
            {
                return Jdr_;
            }
            set
            {
                Jdr_ = value;
            }
        }

        /// <summary>
        /// 建档日期
        /// </summary>
        public string Jdrq
        {
            get
            {
                return Jdrq_;
            }
            set
            {
                Jdrq_ = value;
            }
        }

        /// <summary>
        /// 备注
        /// </summary>
        public string Bz
        {
            get
            {
                return Bz_;
            }
            set
            {
                Bz_ = value;
            }
        }
        #endregion

        public DrugInfo()
        {
        }

        public DrugInfo(string bm, string tym, string spm, string ywmc, string kjm, string hypy, string fl, string jldw, string ggxh, string pzwh, Ypjx jx, string
            cd, bool pwjj, bool tsyp, string txm, string scqy, string scdd, string zcsb, string hgzh, string zcsbpj, string xkzh, string fzjldw, double hsbl, bool sfsy,
            bool ddcf, double zgsj, double gjzdsj, string scgb, string rgzh, string hgdm, bool zj, string gjfzlm, string bzgg, string jkypzczh, string jdr, string jdrq, string bz)
        {
            this.Bm_ = bm;
            this.Tym_ = tym;
            this.Spm_ = spm;
            this.Ywmc_ = ywmc;
            this.Kjm_ = kjm;
            this.Hypy_ = hypy;
            this.Fl_ = fl;
            this.Jldw_ = jldw;
            this.Ggxh_ = ggxh;
            this.Pzwh_ = pzwh;
            this.Jx_ = jx;
            this.Cd_ = cd;
            this.Pwjj_ = pwjj;
            this.Tsyp_ = tsyp;
            this.Txm_ = txm;
            this.Scqy_ = scqy;
            this.Scdd_ = scdd;
            this.Zcsb_ = zcsb;
            this.Hgzh_ = hgzh;
            this.Zcsbpj_ = zcsbpj;
            this.Xkzh_ = xkzh;
            this.Fzjldw_ = fzjldw;
            this.Hsbl_ = hsbl;
            this.Sfsy_ = sfsy;
            this.Ddcf_ = ddcf;
            this.Zgsj_ = zgsj;
            this.Scgb_ = scgb;
            this.Rgzh_ = rgzh;
            this.Hgdm_ = hgdm;
            this.Zj_ = zj;
            this.Gjfzlm_ = gjfzlm;
            this.Bzgg_ = bzgg;
            this.Jkypzczh_ = jkypzczh;
            this.Jdr_ = jdr;
            this.Jdrq_ = jdrq;
            this.Bz_ = bz;
        }
    }
}
